import 'package:distribution_mall_flutter/constant/cf_constant.dart';
import 'package:distribution_mall_flutter/pages/my/widgets/content_items.dart';
import 'package:distribution_mall_flutter/pages/my/widgets/content_order.dart';
import 'package:distribution_mall_flutter/utils/global_key.dart';
import 'package:flutter/material.dart';

class MyContent extends StatefulWidget {
  const MyContent({super.key});

  @override
  State<MyContent> createState() {
    return MyContentState();
  }
}

class MyContentState extends State<MyContent> {
  @override
  Widget build(BuildContext context) {
    return Positioned(
        top: 164,
        left: 0,
        width: MediaQuery.of(context).size.width,
        height: MediaQuery.of(context).size.height - 164,
        child: Container(
            padding: const EdgeInsets.symmetric(vertical: EdgeConstant.edge5),
            decoration: const BoxDecoration(
                color: Colors.white,
                borderRadius: BorderRadius.only(
                  topLeft: Radius.circular(15),
                  topRight: Radius.circular(15),
                )),
            child: const Column(
              children: [ContentOrder(), ContentItems()],
            )));
  }
}
